package org.example.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommentVo {

    private Integer id;
    //根评论id
    private Integer rootId;
    //评论内容
    private String content;
    //所回复的目标评论的userid
    private Integer toCommentUserId;
    //回复用户昵称
    private String toCommentNickname;

    //回复目标评论id
    private Integer toCommentId;

    private Integer createBy;
    //用户昵称
    private String userNickname;
    //头像
    private String Avatar;
    //创建时间
    private Date createTime;
    //子评论
    private List<CommentVo> children;

}
